package com.sqbr.video.swagger;

import com.sqbr.video.core.constants.KunVideoConstants;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * swagger2配置信息`
 */
@Component
@Data
@ConfigurationProperties(prefix = "swagger2")
public class Swagger2ConfigProperties {
    /**
     * 是否显示
     */
    private boolean show=true;
    /**
     * 版本名称
     */
    private String groupName="kunVideo-2.5";

    /**
     * 包路径
     */
    private String basePackage= KunVideoConstants.BASE_COMPONENT_SCAN_PATH;
    /**
     * 标题
     */
    private String title="Kun Video Swagger";

    /**
     * 描述
     */
    private String description="坤坤视频service";

    private String termsOfServiceUrl = "http://127.0.0.1:${server.port}";
    /**
     * 联系人
     */
    private String contactName = "帅气逼人队";
    /**
     * 联系地址
     */
    private String contactUrl = "柳州工学院";

    /**
     * 联系邮箱
     */
    private String contactEmail = "1601434500@qq.com";

    /**
     * 版本
     */
    private String version = "2.5";
}